package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.pojo.PageResult;
import com.itheima.pojo.Student;
import com.itheima.pojo.StudentQueryParam;

public interface StudentService extends IService<Student> {

    //条件分页查询学生（使用MYbatis-plus）
    PageResult<Student> getPageResult(StudentQueryParam param);

    //校验添加学生时数据是否合法
    boolean addStudent(Student student);
}
